private ["_ok"];

_ok = createDialog "XD_AirSupplyDialog";
d_global_airdrop_pos = [];
onMapSingleClick "closeDialog 0;d_global_airdrop_pos = _pos;onMapSingleClick '';";
waitUntil {!dialog || !alive player};
if (alive player) then {

} else {
	if (dialog) then {closeDialog 0};
};
sleep 0.512;
onMapSingleClick "";
